const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var UserSchema = new mongoose.Schema({
  name: String,
  password: String,
  mail: String,
  city: String,
  height: Number,
  gender: String,
  xingzuo: String,
  weight: Number,
  job: String,
  age: Number
});
UserSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('User', UserSchema);
